<form class="layui-form" action="">


    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">订单搜索</label>
            <div class="layui-input-inline">
                <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-inline">
            <label class="layui-form-label">申请时间</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input laydate-date"  placeholder="yyyy-MM-dd">

            </div>
            <label class="layui-form-label" style="margin-left: -65px;">至</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input laydate-date1"  placeholder="yyyy-MM-dd">

            </div>

        </div>

    </div>
    <div class="layui-form-item">
        <div class="layui-block">
            <label class="layui-form-label">退款编号</label>
            <div class="layui-input-inline">
                <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
            </div>
            <label class="layui-form-label">退款方式</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">小程序订单</option>
                    <option value="1" selected="">积分订单</option>
                    <option value="2">优惠订单</option>
                </select>
            </div>
            <label class="layui-form-label">订单编号</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">申请退款</option>
                    <option value="1" selected="">退款中</option>
                    <option value="2">换货中</option>
                    <option value="3">已完成</option>
                </select>
            </div>
        </div>

    </div>




    <div class="layui-form-item">
        <div class="layui-block">
            <label class="layui-form-label">发货状态</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">未支付</option>
                    <option value="1" selected="">未发货</option>
                    <option value="2">待收货</option>
                    <option value="2">已完成</option>
                </select>
            </div>
            <label class="layui-form-label">退款状态</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">积分付款</option>
                    <option value="1" selected="">微信支付</option>
                    <option value="2">支付宝支付</option>
                </select>
            </div>
            <label class="layui-form-label">商品名称</label>
            <div class="layui-input-inline">
                <select name="interest" lay-filter="aihao">
                    <option value=""></option>
                    <option value="0">IOS</option>
                    <option value="1" selected="">安卓</option>
                    <option value="2">微信公众号</option>
                    <option value="3">微信小程序</option>
                </select>
            </div>
        </div>

    </div>
    <span class="layui-btn">筛选</span>
    <span class="layui-btn layui-btn-primary">导出报表</span>
    <span class="layui-btn layui-btn-primary">查看已生成报表</span>
    <a href="" class="layui-btn-xs layui-btn layui-btn-normal">清空筛选条件</a>
</form>



<table class="layui-table edit-table" lay-data="{cellMinWidth: 80,
    url:'{:url('getRefoundOrderList')}',page: true
    }" lay-filter="edit-table" data-url="{:url('editPermissions')}" data-key="permission_id">
    <thead>
    <tr>
        <th lay-data="{field:'order_sn', width:80, sort: true}">订单号</th>
        <th lay-data="{field:'add_time', sort: true}">下单时间</th>
        <th lay-data="{toolbar:'#type'}">价格/数量</th>
        <th lay-data="{toolbar:'#people'}">收货人信息</th>
        <th lay-data="{field:'order_amount'}">实付信息</th>
        <th lay-data="{toolbar:'#status'}">订单状态</th>
        <th lay-data="{toolbar: '#manipulate', width:200}">操作</th>
    </tr>
    </thead>
</table>
<script type="text/html" id="status">
    {{d.status}}没有注释不知具体状态
</script>
<script type="text/html" id="type" >

    <p>{{d.goods_name}}</p>
    {{d.goods_price}}元/{{d.goods_num}}件
</script>

<script type="text/html" id="people" >
    <span>
        <!--{{d.province}}{{d.city}}{{d.district}}{{d.twon}}{{d.address}}-->
    {{d.consignee}}{{d.mobile}}</span>
</script>
<script type="text/html" id="manipulate" >
    <a href="{:url('looktixian')}?id={{d.admin_id}}" class="layui-btn layui-btn-sm layui-btn-normal">备注</a>
    <a href="" class="layui-btn layui-btn-sm">查看详情</a>
</script>